package com.huatao.subject.domain.service;

import com.huatao.subject.common.entity.PageResult;
import com.huatao.subject.common.entity.Result;
import com.huatao.subject.domain.entity.SubjectLikedBO;
import com.sun.org.apache.xpath.internal.operations.Bool;

public interface SubjectLikedDomainService {
    void addLiked(SubjectLikedBO subjectLikedBO);

    Boolean updateLiked(SubjectLikedBO subjectLikedBO);

    Boolean deleteLiked(SubjectLikedBO subjectLikedBO);

    Boolean isLiked(String subjectId, String userId);

    Integer getLikedCount(String subjectId);

    void syncLiked();

    PageResult<SubjectLikedBO> getSubjectLikedCount(SubjectLikedBO subjectLikedBO);
}
